package de.ingo.app.mensa.v0_2.activities;

import de.ingo.app.mensa.v0_2.activities.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class Help extends Activity{
	final String PAKET = "de.ingo.app.mensa.v0_2.activities";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        
		setContentView(R.layout.hilfe);
		
		Button buttonBack = (Button)findViewById(R.id.buttonHelpBack);
		
		buttonBack.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				finish();
				Intent i = new Intent();
                i.setClassName(PAKET,
                               PAKET + ".MainMenu");
                startActivity(i);				
			}
		});

	}

}